package com.itheima.d1_char_stream;

import java.io.FileWriter;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("aa.txt", true);
        fw.write("12222222222222");
        fw.write("\r\n");
        char[] chr = {'n', 'b', 'r', 'u', 'p'};
        fw.write(chr);
        fw.write("\r\n");
        fw.flush();
        fw.write("000000000000");
        fw.write("\r\n");
        fw.flush();
        fw.close();


    }
}
